package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 广场信息
 * </p>
 *
 * @author zcj
 * @since 2021-04-28
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "PlazaInfo对象", description = "广场信息")
public class PlazaInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "类型 1:瞬间2:动态3求助")
    private Integer plazaType;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longit;

    @ApiModelProperty(value = "维度")
    private String lat;

    @ApiModelProperty(value = "图片或视频连接集合")
    private List<LinkVO> linkList;

    @ApiModelProperty(value = "分享数量")
    private Integer shareNum;

    @ApiModelProperty(value = "点赞数量")
    private Integer likeNum;

    @ApiModelProperty(value = "评价数量")
    private Integer evaluateNum;

    @ApiModelProperty(value = "是否已关注 0:未关注1:已关注2:自己发布的")
    private Integer isLike;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人id")
    private Long createdById;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "创建人头像")
    private String createrImg;

    @ApiModelProperty(value = "是否已点赞 0未点赞 1 已点赞")
    private String likeStatus;

}
